[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            MButtonPress - mouse button press data

  Syntax              int MButtonPress(int button);

  Prototype in        mousehk.h

  Remarks             determines button press information for the given
                      button, where the parameter button is 0 for the
                      left button, 1 for the right button, and 2 for the
                      middle button (Mouse Systems mouse).

                      _mouse1 is a bit field

                           xxxxxxxx xxxxxMRL

                      where

                           M = middle button pressed
                           R = right button pressed
                           L = left button pressed

                      _mouse2 contains the number of times the specified
                      button has been pressed since the last call.

                      the specified button was last pressed at the
                      coordinate (_mouse3,_mouse4)

  Return value        returns the number of times the button has been
                      pressed since the last call.

  See also            MButtonRelease(), MButtonStatus()

  Example             see demomous.c


See Also: MButtonRelease() MButtonStatus()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson